<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />
<import type="css" file="css.global" />
</head>
<body>
<div class="list">
<table class="stripe" cellspacing="0">
    <thead>
        <tr>
            <th width="70%">标题</th>
            <th width="10%">发送人</th>
            <th width="13%">时间</th>
            <th width="7%">操作</th>
        </tr>
    </thead>
 
    <tbody>
    <volist name="data" id="vo">
        <tr>
            <td><a href="javascript:void(0);" onclick="view({$vo.id});">{$vo.title}</a></td>
            <td>{$vo.author}</td>
            <td>{$vo.create_time|mb_substr=0,16,'utf-8'}</td>
            <td>
			<php>
				if($vo['file'] != null){
			</php>
			  <a href="javascript:void(0);" onclick="download('{$vo.file}')" title="下载附件"><span class="download"></span></a>
			<php>	
				}
			</php></td>
        </tr>
    </volist>
    </tbody>
    <thead>
        <tr>
            <th colspan="4">{$page}</th>
        </tr>
    </thead>
</table>
</div>
</body>
</html>
<script language="javascript">
$(document).ready(function(){  
	$(".stripe tr").mouseover(function(){    
	  $(this).addClass("over");}).mouseout(function(){   
			$(this).removeClass("over");}) 
  	$(".stripe tr:even").addClass("alt");
});   
function view(id){
	window.location="__URL__/circular_view/id/"+id;
}
</script>  